package com.bindapp.adapter;

import com.bindapp.listener.RecyclerItemClick;

import java.util.List;

/**
 * Created by apple on 2018/6/25.
 */

public class EzItemAdapter extends BaseRcAdapter {

    public EzItemAdapter(List<Object> datas, int layoutId, int mVariableId, RecyclerItemClick listener) {
        super(datas, layoutId, mVariableId, listener);
    }

    @Override
    public void BinderHolder(BaseHolder holder, int position) {
        if(holder instanceof ContentHolder){
            holder.getBinding().setVariable(mVariableId,datas.get(position));
            //Glide.with()
            //((ItemEzBinding)holder.getBinding()).videoImg.
            //Glide.with(mContext).load(imageUrl).placeholder(R.drawable.device_other).into(viewHolder.iconIv);
        }

    }
}
